document.ready
document.ready(funciton(){})
监听 DOMContentLoaded 事件,DOM加载完成后执行(不包括资源文件)
window.onload = function(){}
DOM 加载完成,包括资源文件